
class User {
    id: number;
    user_id: number = 0;
    user_name: string;
    psw: string;
    is_vip: boolean;
    user_code: string;
    is_log_off: boolean;
    constructor() {
    }




    setId(id: number): void {
        this.id = id;
    }

    getId(): number  {
        return this.id;
    }

    setUser_id(user_id: number): void {
        this.user_id = user_id;
    }

    getUser_id(): number  {
        return this.user_id;
    }

    setUser_name(user_name: string): void {
        this.user_name = user_name;
    }

    getUser_name(): string  {
        return this.user_name;
    }

    setPsw(psw: string): void {
        this.psw = psw;
    }

    getPsw(): string  {
        return this.psw;
    }

    setIs_vip(is_vip: boolean): void {
        this.is_vip = is_vip;
    }

    getIs_vip(): boolean  {
        return this.is_vip;
    }

    setUser_code(user_code: string): void {
        this.user_code = user_code;
    }

    getUser_code(): string  {
        return this.user_code;
    }

    setIs_log_off(is_log_off: boolean): void {
        this.is_log_off = is_log_off;
    }

    getIs_log_off(): boolean  {
        return this.is_log_off;
    }

}


export { User };